package com.scau.meetingbook.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 会议室表
 * </p>
 *
 * @author scau
 * @since 2025-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MeetingRooms对象", description="会议室表")
public class MeetingRooms implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "会议室ID")
    @TableId(value = "room_id", type = IdType.AUTO)
    private Integer roomId;

    @ApiModelProperty(value = "会议室名称")
    private String name;

    @ApiModelProperty(value = "会议室类型：classroom（教室型）、round_table（圆桌型）")
    private String type;

    @ApiModelProperty(value = "最大容纳人数")
    private Integer maxCapacity;

    @ApiModelProperty(value = "每小时租赁价格")
    private BigDecimal hourlyRentalPrice;

    @ApiModelProperty(value = "可用开始时间")
    private Date availableStartTime;

    @ApiModelProperty(value = "可用结束时间")
    private Date availableEndTime;

    @ApiModelProperty(value = "会议室状态：idle（空闲）、locked（锁定）、reserved（预定）、in_use（使用）、maintenance（维护）")
    private String status;

    @ApiModelProperty(value = "创建人")
    private Integer createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private Integer updateBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getMaxCapacity() {
        return maxCapacity;
    }

    public void setMaxCapacity(Integer maxCapacity) {
        this.maxCapacity = maxCapacity;
    }

    public BigDecimal getHourlyRentalPrice() {
        return hourlyRentalPrice;
    }

    public void setHourlyRentalPrice(BigDecimal hourlyRentalPrice) {
        this.hourlyRentalPrice = hourlyRentalPrice;
    }

    public Date getAvailableStartTime() {
        return availableStartTime;
    }

    public void setAvailableStartTime(Date availableStartTime) {
        this.availableStartTime = availableStartTime;
    }

    public Date getAvailableEndTime() {
        return availableEndTime;
    }

    public void setAvailableEndTime(Date availableEndTime) {
        this.availableEndTime = availableEndTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
